<?php 
$this->breadcrumbs = array(
	'All tables' => array('default/index'),
	'CHM export'
);
?>
<?php $form = $this->beginWidget('CActiveForm', array(
))?>
<table class='detail mgb10'>
	<tr class='title'><td colspan=2><i>Welcome</i></td></tr>
	<tr>
		<td width=430>
			<div class='pd10 fs12 gray'>
				<p>Hi，欢迎使用 CHM Export 导出工具，以下是一些简要说明：</p>
				<ul class='mgl30'>
					<li><?php echo $form->label($model, 'themePath')?>：存放皮肤文件的目录，以文件夹区分每个皮肤；</li>
					<li><?php echo $form->label($model, 'theme')?>：皮肤文件的名字，相当于目录中的文件夹名字；</li>
					<li><?php echo $form->label($model, 'docTitle')?>：CHM帮助文档窗体的标题；</li>
					<li><?php echo $form->label($model, 'docName')?>：CHM帮助文档的文件名，例如：<a href='javascript:;'>manual.chm</a>；</li>
					<li><?php echo $form->label($model, 'docPath')?>：CHM帮助文档的存放路径；</li>
					<li><?php echo $form->label($model, 'themeCharset')?>：皮肤的字符集，为了支持全文检索，有时候需要进行转码。</li>
				</ul>
			</div>
		</td>
		<td class='vtop'>
			<div class='pd10 fs12 gray'>
				<p>如何编译CHM文档：</p>
				<ul class='mgl30'>
					<li>提交声称文档后，在相应的目录里会找到<a href='javascript:;'>manual.hhp；</a></li>
					<li>文件下载：<a target='_blanl' href='http://msdn.microsoft.com/en-us/library/ms669985.aspx'>Microsoft HTML Help Workshop </a>工具；</li>
					<li>编译<a href='javascript:;'>manual.hhp</a>项目，即可生成<a href='javascript:;'>manual.chm</a>帮助文档。</li>
				</ul>	
			</div>
		</td>
	</tr>
</table>

<table class='detail mgb10'>
	<tr class='title'><td colspan=999><i>Input Form</i></td></tr>
	<tr>
		<th width=120><?php echo $form->labelEx($model, 'themePath')?>：</th>
		<td width=310><?php echo $form->textField($model, 'themePath', array(
			'class' => 'bh-input',
			'size' => 40
		))?><?php echo $form->error($model, 'themePath')?></td>
		<th width=100><?php echo $form->labelEx($model, 'theme')?>：</th>
		<td><?php echo $form->textField($model, 'theme', array(
			'class' => 'bh-input',
		))?><?php echo $form->error($model, 'theme')?></td>
	</tr>
	<tr>
		<th><?php echo $form->labelEx($model, 'docPath')?>：</th>
		<td><?php echo $form->textField($model, 'docPath', array(
			'class' => 'bh-input',
			'size' => 40
		))?><?php echo $form->error($model, 'docPath')?></td>
		<th><?php echo $form->labelEx($model, 'docName')?>：</th>
		<td><?php echo $form->textField($model, 'docName', array(
			'class' => 'bh-input',
		))?><?php echo $form->error($model, 'docName')?></td>
	</tr>
	<tr>
		<th><?php echo $form->label($model, 'themeCharset')?>：</th>
		<td><?php echo $form->textField($model, 'themeCharset', array(
			'class' => 'bh-input',
			'size'=>8,
		))?></td>
	</tr>
	<tr>
		<th><?php echo $form->labelEx($model, 'docTitle')?>：</th>
		<td><?php echo $form->textField($model, 'docTitle', array(
			'class' => 'bh-input',
		))?><?php echo $form->error($model, 'docTitle')?></td>
	</tr>
</table>
<div align=right>
	<?php echo CHtml::resetButton('Reset', array(
		'class' => 'pn',
		'style' => 'width:100px',
	))?>
	<?php echo CHtml::submitButton('Submit', array(
		'class' => 'pn',
		'style' => 'width:100px',
	))?>
</div>
<?php $this->endWidget()?>